package mysql

import "gorm.io/gorm"

// 用户表
type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(40);comment:用户名"`
	Mobile   string `gorm:"type:varchar(40);comment:手机号"`
	Password string `gorm:"type:varchar(40);comment:密码"`
	NickName string `gorm:"type:varchar(40);comment:昵称"`
	HeadImg  string `gorm:"type:varchar(40);comment:头像"`
}
